package com.hp.ssmp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hp.ssmp.entity.TUser;

import java.util.Map;

public interface UserService extends IService<TUser> {

    public boolean addUser(TUser user);

    public TUser login(String usercode, String password);

    public Page<TUser> getUserPage(Integer currentPage,Integer pageSize,Long sex);

    public boolean updatePwd(Long userid,String password,String newpassword);
}
